How can I modify this function to shuffle an array using y^2 random swaps

welcome to shbcf.ru